<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<script type="text/javascript">
	function delete1(obj){
		if(confirm("정말로 삭제하시겠습니까?")==true){
			return true;
		}else{
			return false;
		}
	}
</script>
<form:form commandName="command" action="deleteBoard.do" method="post" onsubmit="return delete1(this)">
	<input type="hidden" value="${param.b_num}" name="b_num">
	<input type="submit" value="<spring:message code="write.form.delete"/>">
	<input type="button" value="<spring:message code="list.content.title"/>"
				onclick="location.href='boardList.do'">
	
</form:form>